package com.pro.service;

import com.pro.pojo.JsDept;
import com.pro.pojo.JsDeptAuthority;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ClassName:JsDeptListService
 * Package:com.pro.service
 * Description:
 *
 * @Date:2021/11/14 20:54
 * @Author: XJR
 */
@Service
public interface JsDeptListService {
    //查看部门信息
    public List<JsDept> selectJsDeptList(String deptName, String trueName, String createDate, String status);
    public Integer countJsDeptList(String deptName, String trueName, String createDate, String status);

    //修改状态
    public Boolean updateJsDeptListStatus(JsDept jsDept);

    //编辑
        //通过id查询
        public JsDept selectJsDept(Integer id);
        //编辑
        public Boolean updateJsDept(JsDept jsDept);

    //删除
    public Boolean delJsDeptList(Integer id);

    //添加部门信息
    public Boolean addJsDeptList(JsDept jsDept);
    public Boolean addJsDeptAuthority(JsDeptAuthority jsDeptAuthority);
}
